package cn.vawn.base.service.impl;

import cn.vawn.base.entity.AdminUser;
import cn.vawn.base.mapper.AdminUserMapper;
import cn.vawn.base.service.IAdminUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("adminUserService")
public class IAdminUserServiceImpl implements IAdminUserService {

    @Autowired
    private AdminUserMapper adminUserMapper;

    @Override
    public AdminUser searchByUsername(String name) {
        return adminUserMapper.selectByUsename(name);
    }
}